
// Simple MVC 
// Model describes an entity in the database 
// Controller describes how it relates to the database
// View describes the entity to the user

//Class for a target model

			// id
				// desc
				// date
				// created
				// created by
				// group list
				// user list
			
var Target = new Class({
    
	Extends: Model,
	
/*	Construct a new user
			data: Object to add (json decoded) */
			
	initialize: function( data )
		{
			this.parent(data);
			this.stringType = 'Target';
		},
		
	assignUsers: function( items )
		{
			this.baseAssignUsers(items);
		},	

	assignGroups: function( items )
		{
			this.baseAssignGroups(items);
		}		
		
});